package cn.jiyun.order.feign;

import cn.jiyun.order.pojo.Goods;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;

import java.util.List;

@FeignClient(value = "service-goods")
public interface GoodsFeign {
    @RequestMapping("/goods/findAll")
    List<Goods> findAll();
}
